﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Yugi.Client
{
    public class ViewDetailModel : BaseModel
    {
        public Yugi.Client.Card.YBaseCard Card { get; set; }
        public SupervisorModel YSupervisorModel { get; set; }
        public ViewDetailModel()
        {

        }

        public void ReceiveMessageFromSupervisor(ClientMSG Message, params object[] param)
        {
            switch (Message)
            {
                case ClientMSG.PrintCard:
                    Card = param[0] as Yugi.Client.Card.YBaseCard;
                    OnChange("Card");
                    break;
            }
        }
    }
}
